import java.util.Scanner;

public class array {
    public static void main(String[] args) {
        int[] a = new int[] {1,2,3,4,5};
        show(a);
    }
    public static void show( int[] b){
        System.out.print("[");
        for (int i = 0; i < b.length-1; i++) {
            System.out.print(b[i]+",");
        }
        System.out.print(b[b.length-1]);
        System.out.print("]");
    }
}